/*
 * CModelTest.java
 * JMUnit based test
 *
 * Created on 24.03.2011, 19:41:32
 */

package Model;


import jmunit.framework.cldc10.*;

/**
 * @author Pisarchik_S
 */
public class CModelTest extends TestCase {
    
    public CModelTest() {
        //The first parameter of inherited constructor is the number of test cases
        super(0,"CModelTest");

    }            

    public void test(int testNumber) throws Throwable {
        switch (testNumber) {
            case 0:
                testAddRecord();
                break;
            case 1:
                testLoad();
                break;
            case 2:
                testSave();
                break;
            case 3:
                testRemoveRecord();
                break;
            default:
                break;
        }
    }

    /**
     * Test of testAddRecord method, of class CModel.
     */
    public void testAddRecord() throws AssertionFailedException {
        System.out.println("AddRecord");
        CModel instance = new CModel();
        CRecord rec_1 = null;
        instance.AddRecord(rec_1);
        fail("The test case is a prototype.");
    }

    /**
     * Test of testLoad method, of class CModel.
     */
    public void testLoad() throws AssertionFailedException {
        System.out.println("Load");
        CModel instance = new CModel();
        instance.Load();
        fail("The test case is a prototype.");
    }

    /**
     * Test of testSave method, of class CModel.
     */
    public void testSave() throws AssertionFailedException {
        System.out.println("Save");
        CModel instance = new CModel();
        instance.Save();
        fail("The test case is a prototype.");
    }

    /**
     * Test of testRemoveRecord method, of class CModel.
     */
    public void testRemoveRecord() throws AssertionFailedException {
        System.out.println("RemoveRecord");
        CModel instance = new CModel();
        CRecord rec_1 = null;
        instance.RemoveRecord(rec_1);
        fail("The test case is a prototype.");
    }
}
